
from django.urls import path
from . import views

urlpatterns = [
    path('hospitals', views.hospital_list, name='hospital_list'),
    path('hospitals/<int:pk>', views.hospital_detail, name='hospital_detail'),
    path('hospitals/create', views.hospital_create, name='hospital_create'),
    path('hospitals/<int:pk>/update', views.hospital_update, name='hospital_update'),
    path('hospitals/<int:pk>/delete', views.hospital_delete, name='hospital_delete'),
    path("upload", views.upload_file, name='upload_file'),
]